package com.jdd.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @className TDeviceIdcardDiscernLog
 * @author: zxl
 * @describe: 身份证识别实体
 * @date: 2022/9/30/10:52
 * @vision: 1.0
 */
@Data
public class TDeviceIdcardDiscernLog implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

//    @ApiModelProperty(value = "状态1-正常2-停用")
//    private Boolean status;

//    @ApiModelProperty(value = "用户id")
//    private Long userId;

    @ApiModelProperty(value = "身份证图片")
    private String faceImgdata;

    @ApiModelProperty(value = "识别错误码")
    private String errorCode;

    @ApiModelProperty(value = "证件图大小")
    private Integer faceimglen;

    @ApiModelProperty(value = "0:未带帽；1：带帽；-1：未检测")
    private String hat;

    @ApiModelProperty(value = "身份证号")
    private String idCard;

    @ApiModelProperty(value = "0:未戴口罩；1：戴口罩；-1：未检测")
    private String mask;

    @ApiModelProperty(value = "签发机构")
    private String maker;

    @ApiModelProperty(value = "比对结果(100分制)，0：未比对。-1：比对失败。大于0的取值")
    private String match;

    @ApiModelProperty(value = "民族")
    private String national;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "设备人员ID")
    private String perId;

//    @ApiModelProperty(value = "人员角色，0：普通人员。 1：白名单人员。 2：黑名单人员")
//    private Integer role;

    @ApiModelProperty(value = "生日")
    private String birthday;

    @ApiModelProperty(value = "消息ID")
    private String sequence;

    @ApiModelProperty(value = "设备SN")
    private String sn;

    @ApiModelProperty(value = "温度")
    private String tep;

    @ApiModelProperty(value = "时间戳")
    private Integer tvsec;

//    @ApiModelProperty(value = "用户类型1-住户2-访客3-未知")
//    private Integer userType;

//    @ApiModelProperty(value = "开始时间")
//    private Date startdate;
//
//    @ApiModelProperty(value = "结束时间")
//    private String enddate;

    @ApiModelProperty(value = "项目id")
    private String projectId;
}
